package com.jd.jr.insights.dm.dim.controller;

import com.jd.jr.insights.dm.dim.service.RuleService;
import com.jd.jr.insights.dm.dim.service.impl.RuleServiceImpl;
import com.jfinal.core.Controller;


/**
 * Created by Administrator on 2017/7/15.
 */
public class RuleController extends Controller {



    RuleService ruleService=new RuleServiceImpl();
    public void index(){
        render("/rule.html");
//        renderText(ruleService.getRuleJson());
    }

   public void getRuleDepartment_1_2(){
       renderText(ruleService.getRuleDepartment_1_2Json());
   }
    public void getRuleCategory_level_3(){
        renderText(ruleService.getRuleCategory_level_3Json());
    }

    public void getRuleBusiness_sequence_4_7(){
        renderText(ruleService.getRuleBusiness_sequence_4_7Json());
    }

}
